package com.zg.scf.feign;

import com.zg.common.core.R;
import com.zg.message.api.domain.req.MsgInfoAddReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "zg-message")
public interface MsgInfoFeign {

    @PostMapping("/add")
    R add(@RequestBody MsgInfoAddReq addReq);
}
